package com.ticket.sass.admin.dto.input.dispatch;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @author ywb
 * @date 2024-04-08 18:09
 */
@Data
@ApiModel
public class DispatchGuideTypeInput {
    @ApiModelProperty(value = "配送方式：0-不支持, 1-配送到厅口, 2-配送入座")
    @Min(value = 0, message = "配送方式必须大于等于0")
    @Max(value = 2, message = "配送方式必须小于等于2")
    private Short mode;
}
